package com.fesine.ssh.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Fesine on 2016/2/16.
 */
@Entity
@Table(name = "t_sequence")
public class Sequence extends BasePo {

    /**
     * 序列名
     */
    private String name;
    /**
     * 当前值
     */
    private int currVal;
    /**
     * 下一值
     */
    private int nextVal;
    /**
     * 初始值
     */
    private int initVal;
    /**
     * 最大值
     */
    private int maxVal;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCurrVal() {
        return currVal;
    }

    public void setCurrVal(int currVal) {
        this.currVal = currVal;
    }

    public int getNextVal() {
        return nextVal;
    }

    public void setNextVal(int nextVal) {
        this.nextVal = nextVal;
    }

    public int getInitVal() {
        return initVal;
    }

    public void setInitVal(int initVal) {
        this.initVal = initVal;
    }

    public int getMaxVal() {
        return maxVal;
    }

    public void setMaxVal(int maxVal) {
        this.maxVal = maxVal;
    }
}
